from django.db import models


# Create your models here.
class Connect(models.Model):
    Humidity = models.FloatField(max_length=10, verbose_name='湿度')
    temp = models.FloatField(max_length=10, verbose_name='温度')
    DateTimeField = models.DateTimeField(auto_now_add=True)

    class Meta:
        db_table = 'iot'
